package org.jeecg.modules.vegetable.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.vegetable.entity.VegetableTypes;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * @Description: vegetable_types
 * @Author: jeecg-boot
 * @Date:   2022-01-18
 * @Version: V1.0
 */
public interface IVegetableTypesService extends IService<VegetableTypes> {

    /**
     * 根据蔬菜品种ID进行溯源，查询对应的生产基地和基地所属公司
     * @param vegetableId 蔬菜品种ID
     * @return 蔬菜相关信息
     */
    HashMap<String, String> getVegetableInfo(String vegetableId);
}
